package cn.itsource.org.domain;

import cn.itsource.basic.Domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * @Author CTL
 * @Description
 * @date Created in 2023-05-20 10:49
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_employee")
public class Employee extends BaseDomain {
    //id

    //用户名
    private String username;
    //邮箱
    private String email;
    //电话
    private String phone;
    //密码
    private String password;
    //年龄
    private Integer age;
    // 1待审核，2审核通过，3激活成功，4审核驳回
    private Integer state;
    //关联的部门ID
    private Long departmentId;
    //关联的登录信息
    private Long logininfoId;
    //关联的店铺ID
    private Long shopId;
    //员工的上级ID
    private Long parentId;
    //上级经理的ID
    private Long managerId;
}
